package com.baidu.cmsService.dao;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: BSS
 * @create: 2020/6/30/19:13
 */
@Mapper
public interface AttachmentDao {
    @Delete("delete from t_attachment where tid=#{tid}")
    Integer deleteByTid(@Param("tid")Integer tid);
}
